Reportrapport Declarative Interpretations Reconsidered Declarative Interpretations Reconsidered
نویسندگان
چکیده
Three semantics have been proposed as the most promising candidates for a declarative interpretation for logic programs and pure Prolog programs: the least Herbrand model, the least term model, i.e. the C-semantics, and the S-semantics. Previous results show that a strictly increasing information ordering between these semantics exists for the class of all programs. In particular, the S-semantics allows us to model computed answer substitutions, which is not the case for the other two. We study here the relationship between these three semantics for speciic classes of programs. We show that for a large class of programs (which is Turing complete) these three semantics are isomorphic. As a consequence, given a query, we can extract from the least Herbrand model of the program all computed answer substitutions. This result is applied to propose a method for proving partial correctness of programs based on the least Herbrand model.
منابع مشابه
Querying the Web Reconsidered: A Practical Introduction to Xcerpt
This article gives a practical introduction into the language Xcerpt, guided by many examples for illustrating language constructs and usage. Xcerpt is a rule-based, declarative query and transformation language for XML data. In Xcerpt, queries and the (re-)structuring of answer (also called "constructions") are expressed in terms of patterns instead of path navigations (like in XSLT and XQuery...
متن کاملAn inquisitive approach to occasion-sensitivity
The following paper presents a uniform account of occasion-sensitivity for a range of declarative and interrogative sentences using inquisitive semantics as the main semantic framework. I propose an extension to the basic inquisitive framework that takes into account the goal-sensitivity of interpretation. The main idea is that among the possible interpretations that a sentence may have, only t...
متن کاملSynthesis of models for order-sorted first-order theories using linear algebra and constraint solving
Recent developments in termination analysis for declarative programs emphasize the use of appropriate models for the logical theory representing the program at stake as a generic approach to prove termination of declarative programs. In this setting, Order-Sorted First-Order Logic provides a powerful framework to represent declarative programs. It also provides a target logic to obtain models f...
متن کاملLearning the Parameters of Probabilistic Logic Programs from Interpretations
ProbLog is a recently introduced probabilistic extension of the logic programming language Prolog, in which facts can be annotated with the probability that they hold. The advantage of this probabilistic language is that it naturally expresses a generative process over interpretations using a declarative model. Interpretations are relational descriptions or possible worlds. This paper introduce...
متن کامل